package com.itheima.dao;

import com.itheima.domain.User;

import java.util.List;

/**
 * @author ZhangyiA
 * @describe:
 * @date 2021/06/27
 */
public interface UserDao {

    public List<User> findAll();

    long save(User user);
    void saveUserRole(long id , long[] roleIds);

    void del(long userId);
    void delUserRole(long userId);
}
